<div class="img-container">
{{#if errorThrown}}
<div class="lazy-image-error-message">{{defaultErrorText}}</div>
{{else}}
<div class="lazy-image-placeholder">{{yield}}</div>
{{/if}}
{{#if useDimensionsAttrs}}
<img class="{{unbound class}}" src="{{imgSrcReal}}" alt="{{unbound alt}}"
  height={{height}} width={{width}} id="{{concat 'img-interg-' name}}"/>
{{else}}
<img class="{{unbound class}}" src="{{imgSrcReal}}" alt="{{unbound alt}}" id="{{concat 'img-interg-' name}}"/>
{{/if}}
{{#if showProgress}}
{{bs-progress-bar value=progressValue minValue=0 maxValue=100 showLabel=true
  roundDigits=0 type='info' striped=false animate=false}}
{{/if}}
</div>
{{#if hasUploader}}
<div id="{{concat 'uploader-' name}}"  class="barInBottom"  style="width:{{width}}px; cursor:pointer" {{action "avatarUpload" on="click"}}>
  上传新图片
</div>
{{/if}}
